package com.thinkingstar.iads.datacenter.entity;

import org.nutz.dao.entity.annotation.ColDefine;
import org.nutz.dao.entity.annotation.ColType;
import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Comment;
import org.nutz.dao.entity.annotation.EL;
import org.nutz.dao.entity.annotation.Name;
import org.nutz.dao.entity.annotation.Prev;
import org.nutz.dao.entity.annotation.Table;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Comment("机务设施数据库")
@Table("dc_carmaintenance_facility")
public class DcCarmaintenanceFacility {
	
	@Column("id")
	@Name
	@Comment("主键")
	@ColDefine(type = ColType.VARCHAR, width = 32)
	@Prev(els = { @EL("uuid()") })
	protected String id;
	
	@Comment("类型(客机,货机,车站)")
	@Column
	@ColDefine(type = ColType.VARCHAR, width = 50)
	protected String type;
	
	@Comment("城市")
	@Column
	@ColDefine(type = ColType.VARCHAR, width = 50)
	protected String city;
	
	@Comment("路局")
	@Column
	@ColDefine(type = ColType.VARCHAR, width = 50)
	protected String railway;
	
	@Comment("设施详细信息")
	@Column
	@ColDefine(type = ColType.VARCHAR, width = 255)
	protected String facility_info;
	
	@Comment("机务设施名称")
	@Column
	@ColDefine(type = ColType.VARCHAR, width = 255)
	protected String facilities_name;
	
	@Comment("性质")
	@Column
	@ColDefine(type = ColType.VARCHAR, width = 255)
	protected String nature;
	
	@Comment("规模")
	@Column
	@ColDefine(type = ColType.VARCHAR, width = 255)
	protected String scale;
	
	@Comment("经度")
	@Column
	@ColDefine(type = ColType.VARCHAR, width = 50)
	protected String longitude;
	
	@Comment("纬度")
	@Column
	@ColDefine(type = ColType.VARCHAR, width = 50)
	protected String dimensionality;
	
	@Comment("创建时间")
	@Column
	@ColDefine(type = ColType.VARCHAR, width = 50)
	protected String create_time;
	
	@Comment("修改时间")
	@Column
	@ColDefine(type = ColType.VARCHAR, width = 50)
	protected String update_time;
	

}
